package org.grow.tiny.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: xwg
 * @CreateDate: 2022/6/1
 */
@FeignClient(value = "SUPPORT-MS", fallback = UtilFeignLocal.class)
//@RequestMapping("/support/util")
public interface UtilFeign {
    @GetMapping("/support/util/codeGene")
    String codeGene(@RequestParam("prefix") String prefix);
}
